<!-- 引入模板文件 -->
{% extends "public_base.html" %}

{% load format %}

<!-- 替换原 block content 内容 -->
{% block content %}
<h3 style="text-align: center">Ansible 组详情</h3>
<table class="table table-bordered" style="">
  <tr>
    <td style="text-align: right;background-color:#e4f1c6">HostName</td>
    <td>{{ object.hostName }}</td>
  </tr>
  <tr>
    <td style="text-align: right;background-color:#e4f1c6">HostIP</td>
    <td>{{ object.hostIP }}</td>
  </tr>
  <tr>
    <td style="text-align: right;background-color:#e4f1c6">Username</td>
    <td>{{ object.ansible_user }}</td>
  </tr>
  <tr>
    <td style="text-align: right;background-color:#e4f1c6">Key</td>
    <td>{{ object.ansible_key }}</td>
  </tr>

{% endblock %}